//
//  ZLViewModel.swift
//  BasicProduct
//
//  Created by itzhaolei on 2021/8/31.
//

import Foundation

open class ZLViewModel: NSObject {
    
    ///请求数据的动作
    public var requestData:((_ isLoadMore: Bool)->())?
    
    /// 刷新数据的动作
    public var reloadData: (()->())?
    
    /// 返回上级
    public var goback: (()->())?
    
    /// 页码
    public var page: Int = 0
    
    /// 每页数量
    public var size: Int = 10
    
    /// 没有更多
    public var noMore: Bool = false
    
}
